import openpyxl
wb = openpyxl.load_workbook('example.xlsx')
#wb = load_workbook('example.xlsx')
#print(type(wb))
print(wb.sheetnames)
#Deprecated: wb.get_sheet_names()
sheet = wb['Sheet1']
#Deprecated: sheet = wb.get_sheet_by_name('Sheet1')
print(sheet)
#print(type(sheet))
print(sheet.title)
anotherSheet = wb.active
print(anotherSheet)
